#include "Controller/ViewDataPair.hpp"

ViewDataPairCurve::ViewDataPairCurve(Graphics *_graphics, CurveData *_data)
{
    data = _data;
    view = new CurveView(_graphics, data);
}

ViewDataPairCurve::~ViewDataPairCurve()
{
    delete view;
    delete data;
}

CurveView* ViewDataPairCurve::getView()
{
    return view;
}

CurveData* ViewDataPairCurve::getData()
{
    return data;
}